package org.opsli.modulars.business.patrolRouteRecord.service.impl;

import org.opsli.api.wrapper.business.patrolRouteRecord.DailyInspectionReportModel;
import org.opsli.core.base.service.impl.CrudServiceImpl;
import org.opsli.modulars.business.patrolRouteRecord.entity.DailyInspectionReport;
import org.opsli.modulars.business.patrolRouteRecord.mapper.DailyInspectionReportMapper;
import org.opsli.modulars.business.patrolRouteRecord.service.DailyInspectionReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DailyInspectionReportServiceImpl extends CrudServiceImpl<DailyInspectionReportMapper, DailyInspectionReport, DailyInspectionReportModel>
        implements DailyInspectionReportService {

    @Autowired(required = false)
    private DailyInspectionReportMapper dirm;

    public List getDailyReport(String devid) {
        return dirm.getDailyReport(devid);
    }

    @Override
    public List getPatrolPoint(String devid) {
        return dirm.getPatrolPoint(devid);
    }

    @Override
    public List getUserRoute(String devid, String user_name, String lastTime_BEGIN) {
        return dirm.getUserRoute(devid, user_name, lastTime_BEGIN);
    }

    @Override
    public List getUserPoint(String devid, String user_name, String lastTime_BEGIN) {
        return dirm.getUserPoint(devid, user_name, lastTime_BEGIN);
    }

    @Override
    public List searchUserRoute(String devid, String user_name) {
        return dirm.searchUserRoute(devid, user_name);
    }

    @Override
    public List searchUserPoint(String devid, String user_name) {
        return dirm.searchUserPoint(devid, user_name);
    }

    @Override
    public List getMonthReport(String devid) {
        return dirm.getMonthReport(devid);
    }

    @Override
    public List getMonthPoint(String devid) {
        return dirm.getMonthPoint(devid);
    }

    @Override
    public List getMonthUserRoute(String devid, String user_name, String lastTime_BEGIN) {
        return dirm.getMonthUserRoute(devid, user_name, lastTime_BEGIN);
    }

    @Override
    public List getMonthUserPoint(String devid, String user_name, String lastTime_BEGIN) {
        return dirm.getMonthUserPoint(devid, user_name, lastTime_BEGIN);
    }

    @Override
    public List searchMonthUserRoute(String devid, String user_name) {
        return dirm.searchMonthUserRoute(devid, user_name);
    }

    @Override
    public List searchMonthUserPoint(String devid, String user_name) {
        return dirm.searchMonthUserPoint(devid, user_name);
    }
}
